package com.wangzy.game;

import android.graphics.Point;

/**
 * @ProjectName: SportBS
 * @Date: 2022/8/19
 * @Desc:
 */
public interface IGameCanvas {

    public void refresh();
    public int getFps();
    public boolean isEnd();
    public long getRefreshCount();

    public void addSprite(Sprite sprite, Point point);
    public void addSprite(Sprite sprite);
    public void addSprite(Sprite sprite, Point point,String key);
    public void addSprite(Sprite sprite,String key);

    public Sprite findSpriteByKey(String key);
}
